
package books.storage.service;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for bookDto complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="bookDto">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="author" type="{http://service.storage.books/}authorDto" minOccurs="0"/>
 *         &lt;element name="copiesNumber" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="editionDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         &lt;element name="isbn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="literary" type="{http://service.storage.books/}literaryGenreDto" minOccurs="0"/>
 *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "bookDto", propOrder = {
    "author",
    "copiesNumber",
    "editionDate",
    "id",
    "isbn",
    "literary",
    "title"
})
public class BookDto {

    protected AuthorDto author;
    protected int copiesNumber;
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar editionDate;
    protected Integer id;
    protected String isbn;
    protected LiteraryGenreDto literary;
    protected String title;

    /**
     * Gets the value of the author property.
     * 
     * @return
     *     possible object is
     *     {@link AuthorDto }
     *     
     */
    public AuthorDto getAuthor() {
        return author;
    }

    /**
     * Sets the value of the author property.
     * 
     * @param value
     *     allowed object is
     *     {@link AuthorDto }
     *     
     */
    public void setAuthor(AuthorDto value) {
        this.author = value;
    }

    /**
     * Gets the value of the copiesNumber property.
     * 
     */
    public int getCopiesNumber() {
        return copiesNumber;
    }

    /**
     * Sets the value of the copiesNumber property.
     * 
     */
    public void setCopiesNumber(int value) {
        this.copiesNumber = value;
    }

    /**
     * Gets the value of the editionDate property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getEditionDate() {
        return editionDate;
    }

    /**
     * Sets the value of the editionDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setEditionDate(XMLGregorianCalendar value) {
        this.editionDate = value;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setId(Integer value) {
        this.id = value;
    }

    /**
     * Gets the value of the isbn property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIsbn() {
        return isbn;
    }

    /**
     * Sets the value of the isbn property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIsbn(String value) {
        this.isbn = value;
    }

    /**
     * Gets the value of the literary property.
     * 
     * @return
     *     possible object is
     *     {@link LiteraryGenreDto }
     *     
     */
    public LiteraryGenreDto getLiterary() {
        return literary;
    }

    /**
     * Sets the value of the literary property.
     * 
     * @param value
     *     allowed object is
     *     {@link LiteraryGenreDto }
     *     
     */
    public void setLiterary(LiteraryGenreDto value) {
        this.literary = value;
    }

    /**
     * Gets the value of the title property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTitle() {
        return title;
    }

    /**
     * Sets the value of the title property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTitle(String value) {
        this.title = value;
    }

}
